<?php include TMPL_PATH.'public/header.phtml';?>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
        <a href='javascript:;' class="on"><em>投诉列表</em></a>
    </div>
</div>
<div class="bk"></div>
<div class="pad_10">
<div class="table-list">
    <table width="100%" cellspacing="0" >
        <thead>
            <tr>
            <th align='center'>问题类型</th>
            <th align='center'>联系人</th>
            <th align='center'>订单号</th>
            <th align='center'>投诉时间</th>
            <th align='center'>状态</th>
			<th align='center'>管理操作</th>
            </tr>
        </thead>
    <tbody>
    <?php
   	if(isset($complaintList) && $complaintList):
   		foreach ($complaintList as $v):
   ?>
			<tr>
				<td align='center'><?php echo OrderModel::$purchaseType[$v['purchase_type']];?></td>
				<td align='center'><?php echo $v['contact_name']?></td>
				<td align='center'><?php echo $v['order_sn']?></td>
				<td align='center'><?php echo date('Y-m-d H:i:s', $v['add_time']);?></td>
				<td align='center'><?php echo OrderModel::$purchaseStatus[$v['status']];?></td>
				<td align='center'> 
				<a href="javascript:;">查看</a>
				</td>
			</tr>
	<?php 
		endforeach;
		endif;
	?>
   </tbody>
    </table>
<div id="pages"><?php echo $pageShow;?></div>
</div>
</div>
</body>
</html>